package com.wms.project.business.supplier.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wms.framework.web.domain.BaseEntity;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 供应商表 supplier
 * 
 * @author zhangp
 * @date 2019-07-27
 */
public class Supplier extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 供应商id */
	private Long id;
	/** 企业名称 */
	private String supplierName;
	/** 法人名称 */
	private String artificialPersonName;
	/** 法人身份证号 */
	private String artificialPersonIdCard;
	/** 组织机构代码 */
	private String orgCode;
	/** 企业注册地址 */
	private String registeredAddress;
	/** 企业成立时间 */
	private Date establishDate;
	/** 联系地址 */
	private String linkmanAddress;
	/** 联系电话 */
	private String telephone;
	/** 联系人电话 */
	private String linkmanPhone;
	/** 开户银行 */
	private String bankName;
	/** 银行账号 */
	private String bankAccount;
	/** 经度 */
	private BigDecimal lon;
	/** 纬度 */
	private BigDecimal lat;
	/** 信息状态：0=正常的；1=无效的;默认正常的 */
	private Integer status;
	/** 是否删除：0=未删除；1=已删除;默认未删除 */
	private Integer isDeleted;
	/** 创建人 */
	private Long creatorId;
	/** 修改人 */
	private Long updatorId;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setSupplierName(String supplierName) 
	{
		this.supplierName = supplierName;
	}

	public String getSupplierName() 
	{
		return supplierName;
	}
	public void setArtificialPersonName(String artificialPersonName) 
	{
		this.artificialPersonName = artificialPersonName;
	}

	public String getArtificialPersonName() 
	{
		return artificialPersonName;
	}
	public void setArtificialPersonIdCard(String artificialPersonIdCard) 
	{
		this.artificialPersonIdCard = artificialPersonIdCard;
	}

	public String getArtificialPersonIdCard() 
	{
		return artificialPersonIdCard;
	}
	public void setOrgCode(String orgCode) 
	{
		this.orgCode = orgCode;
	}

	public String getOrgCode() 
	{
		return orgCode;
	}
	public void setRegisteredAddress(String registeredAddress) 
	{
		this.registeredAddress = registeredAddress;
	}

	public String getRegisteredAddress() 
	{
		return registeredAddress;
	}
	public void setEstablishDate(Date establishDate) 
	{
		this.establishDate = establishDate;
	}

	public Date getEstablishDate() 
	{
		return establishDate;
	}
	public void setLinkmanAddress(String linkmanAddress) 
	{
		this.linkmanAddress = linkmanAddress;
	}

	public String getLinkmanAddress() 
	{
		return linkmanAddress;
	}
	public void setTelephone(String telephone) 
	{
		this.telephone = telephone;
	}

	public String getTelephone() 
	{
		return telephone;
	}
	public void setLinkmanPhone(String linkmanPhone) 
	{
		this.linkmanPhone = linkmanPhone;
	}

	public String getLinkmanPhone() 
	{
		return linkmanPhone;
	}
	public void setBankName(String bankName) 
	{
		this.bankName = bankName;
	}

	public String getBankName() 
	{
		return bankName;
	}
	public void setBankAccount(String bankAccount) 
	{
		this.bankAccount = bankAccount;
	}

	public String getBankAccount() 
	{
		return bankAccount;
	}
	public void setLon(BigDecimal lon) 
	{
		this.lon = lon;
	}

	public BigDecimal getLon() 
	{
		return lon;
	}
	public void setLat(BigDecimal lat) 
	{
		this.lat = lat;
	}

	public BigDecimal getLat() 
	{
		return lat;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setIsDeleted(Integer isDeleted) 
	{
		this.isDeleted = isDeleted;
	}

	public Integer getIsDeleted() 
	{
		return isDeleted;
	}
	public void setCreatorId(Long creatorId) 
	{
		this.creatorId = creatorId;
	}

	public Long getCreatorId() 
	{
		return creatorId;
	}
	public void setUpdatorId(Long updatorId) 
	{
		this.updatorId = updatorId;
	}

	public Long getUpdatorId() 
	{
		return updatorId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierName", getSupplierName())
            .append("artificialPersonName", getArtificialPersonName())
            .append("artificialPersonIdCard", getArtificialPersonIdCard())
            .append("orgCode", getOrgCode())
            .append("registeredAddress", getRegisteredAddress())
            .append("establishDate", getEstablishDate())
            .append("linkmanAddress", getLinkmanAddress())
            .append("telephone", getTelephone())
            .append("linkmanPhone", getLinkmanPhone())
            .append("bankName", getBankName())
            .append("bankAccount", getBankAccount())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .append("remark", getRemark())
            .append("creatorId", getCreatorId())
            .append("createTime", getCreateTime())
            .append("updatorId", getUpdatorId())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
